import request from "./request"
// 三级分类
export const classfication = ()=>{
  return request({
    method: 'get',
    url: 'mall/productcategory/threeProductCategory'
  })
}
// 分类检索商品
export const category = (categoryName)=>{
  return request({
    method: 'get',
    url: 'mall/product/categorySearchProduct',
    params:{
      categoryName
    }
  })
}
// 根据副标题和名称检索商品
export const search = (searchCondition)=>{
  return request({
    method: 'get',
    url: 'mall/product/searchProduct',
    params:{
      searchCondition
    }
  })
}



